package com.okq.entity;

import com.okq.entity.base.DataEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 描述 : 部门表
 * 作者 : zdl
 * 日期 : 2017/6/27 16:53
 */
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "tb_group")
public class Group extends DataEntity implements Serializable {

    private static final long serialVersionUID = -7057251854640182112L;
    /**
     * 部门名称
     */
    @Column(name = "groupName", length = 50)
    private String groupName;
    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;
    /**
     * 公司ID
     */
    @Column(name = "companyId")
    private String companyId;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

}
